package hibernate.model;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.NamedQueries;
import org.hibernate.annotations.NamedQuery;
import org.hibernate.annotations.Parameter;

@SuppressWarnings("serial")
@Entity
@Table(name = "klima", catalog = "emmy")
@NamedQueries({  // Şimdilik bu query'lere gerek yok ihtiyaç olursa diye hazırlandı...
@NamedQuery(name = "findKlimaUretici", 		query = "from Klima where ureticiid = :kUretici"),
@NamedQuery(name = "findKlimaAntibkicTsrm", query = "from Klima where antibakteriyelicTasarim like :kAntiBakicTsrm"),
@NamedQuery(name = "findKlimaAntibkTzFltr", query = "from Klima where antibakteriyelTozFiltre like :kAntiBakTozFiltre"),
@NamedQuery(name = "findKlimaRestart", 		query = "from Klima where restart like :kRestart"),
@NamedQuery(name = "findKlimaYsogisiPerf", 	query = "from Klima where yuksekSogutisitPerformans like :kYsoisiPerf"),
@NamedQuery(name = "findKlimaHavalandirma", query = "from Klima where havalandirma like :kHvlandirma"),
@NamedQuery(name = "findKlimaTurboSogisi", 	query = "from Klima where turboSogutisitma like :kturboSogutisit"),
@NamedQuery(name = "findKlimaRenk", 		query = "from Klima where renk like :kRenk"),
@NamedQuery(name = "findKlimaGeckCalsFonk", query = "from Klima where gecikCalisFonk like :kGeckCalsFonk"),
@NamedQuery(name = "findKlimaUykuModu", 	query = "from Klima where uykuModu like :kUykuMod"),
@NamedQuery(name = "findKlimaOtoOff", 		query = "from Klima where otoOff like :kOtoOff"),
@NamedQuery(name = "findKlimaKokugidrFilt", query = "from Klima where kokuGidericiFiltre like :kKokuGidericiFiltre"),
@NamedQuery(name = "findKlimaKokuKartusu", 	query = "from Klima where kokuKartusu like :kKokuKartusu"),
@NamedQuery(name = "findKlimaOtoMOde", 		query = "from Klima where otoMode like :kOtoMode"),
@NamedQuery(name = "findKlimaKolayPanel", 	query = "from Klima where kolayPanel like :kKolayPanel"),
@NamedQuery(name = "findKlimahavaSalinimi", query = "from Klima where havaSalinimi like :kHvSalinimi"),
@NamedQuery(name = "findKlimaGucluNemAlma", query = "from Klima where gucluNemAlma like :kGucluNemAlma"),
@NamedQuery(name = "findKlimaUzakKumanda", 	query = "from Klima where uzaktanKumanda like :kUzakKumanda"),
@NamedQuery(name = "findKlimaRataryKompre", query = "from Klima where rataryKompresor like :kRataryKompresor"),
@NamedQuery(name = "findKlimaUznUfleMesfe", query = "from Klima where uzunUflemeMesafesi like :kUzunUflemeMesafe"),
@NamedQuery(name = "findKlimaYonluHvSalin",	query = "from Klima where yonluHavaSalinimi like :kYonluHvSalinimi"),
@NamedQuery(name = "findKlimaKademeFanHiz", query = "from Klima where kademeliFanHizi like :kKademeFanHiz"),
@NamedQuery(name = "findKlimaProgHfz",		query = "from Klima where progHafizasi like :kProgHfz"),
@NamedQuery(name = "findKlimaEstetkDizayn", query = "from Klima where estetikDizayn like :kEstetikDizayn"),
@NamedQuery(name = "findKlimaOtoFanHzKntrl",query = "from Klima where otoFanHizKontrol like :kOtoFanHizKontrol"),
@NamedQuery(name = "findKlimaLonizer",		query = "from Klima where lonizer like :kLonizer"),
@NamedQuery(name = "findKlimaNemAlmaKapst",	query = "from Klima where nemAlmaKapasite like :kNemAlmaKapasite"),
@NamedQuery(name = "findKlimaGazTipi",		query = "from Klima where gazTipi like :kGaztipi"),
@NamedQuery(name = "findKlimaSogutKapasit",	query = "from Klima where sogutmaKapasite like :kSogutmaKapasite"),
@NamedQuery(name = "findKlimaisitKapasit",	query = "from Klima where isitmaKapasite like :kisitmaKapasite"),
@NamedQuery(name = "findKlimaEnerjiSinifi",	query = "from Klima where enerjiSinifi like :kEnerjiSinifi"),
@NamedQuery(name = "findKlimaElekOzellik",	query = "from Klima where elekOzellik like :kElekOzellik"),
@NamedQuery(name = "findKlimaCekilenGuc",	query = "from Klima where cekilenGuc like :kCekilenGuc"),
@NamedQuery(name = "findKlimaCekilElekAkim",query = "from Klima where cekilenElekAkimi like :kCekilenElekAkimi"),
@NamedQuery(name = "findKlimaSesSeviyesi",	query = "from Klima where sesSeviyesi like :kSesSeviyesi"),
@NamedQuery(name = "findKlimaHavaDebisi",	query = "from Klima where havaDebisi like :kHavaDebisi"),
@NamedQuery(name = "findKlimaDisUnitBoyut",	query = "from Klima where disUniteBoyut like :kDisUniteBoyut"),
@NamedQuery(name = "findKlimaicUniteBoyut",	query = "from Klima where icUniteBoyut like :kicUniteBoyut"),
@NamedQuery(name = "findKlimaDisNetAgirlik",query = "from Klima where disNetAgirlik like :kDisNetAgirlik"),
@NamedQuery(name = "findKlimaBoruCaplari",	query = "from Klima where boruCaplari like :kBoruCaplari"),
@NamedQuery(name = "findKlimaGarantiSuresi",query = "from Klima where garantiSuresi like :kGarantiSuresi")
})
public class Klima implements java.io.Serializable {

	private long aygitid;
	private Sirketprofil sirketprofil;
	private Aygit aygit;
	private String renk;
	private String antibakteriyelicTasarim;
	private String antibakteriyelTozFiltre;
	private String restart;
	private String yuksekSogutisitPerformans;
	private String havalandirma;
	private String turboSogutisitma;
	private String gecikCalisFonk;
	private String uykuModu;
	private String otoOff;
	private String kokuGidericiFiltre;
	private String kokuKartusu;
	private String otoMode;
	private String kolayPanel;
	private String havaSalinimi;
	private String gucluNemAlma;
	private String uzaktanKumanda;
	private String rataryKompresor;
	private String uzunUflemeMesafesi;
	private String yonluHavaSalinimi;
	private String kademeliFanHizi;
	private String progHafizasi;
	private String estetikDizayn;
	private String otoFanHizKontrol;
	private String lonizer;
	private String nemAlmaKapasite;
	private String gazTipi;
	private String sogutmaKapasite;
	private String isitmaKapasite;
	private String enerjiSinifi;
	private String elekOzellik;
	private String cekilenGuc;
	private String cekilenElekAkimi;
	private String sesSeviyesi;
	private String havaDebisi;
	private String disUniteBoyut;
	private String icUniteBoyut;
	private String disNetAgirlik;
	private String boruCaplari;
	private String garantiSuresi;

	public Klima() {
	}

	public Klima(Sirketprofil sirketprofil, Aygit aygit,String renk, String antibakteriyelicTasarim,
			String antibakteriyelTozFiltre, String restart,
			String yuksekSogutisitPerformans, String havalandirma,
			String turboSogutisitma, String gecikCalisFonk, String uykuModu,
			String otoOff, String kokuGidericiFiltre, String kokuKartusu,
			String otoMode, String kolayPanel, String havaSalinimi,
			String gucluNemAlma, String uzaktanKumanda, String rataryKompresor,
			String uzunUflemeMesafesi, String yonluHavaSalinimi,
			String kademeliFanHizi, String progHafizasi, String estetikDizayn,
			String otoFanHizKontrol, String lonizer, String nemAlmaKapasite,
			String gazTipi, String sogutmaKapasite, String isitmaKapasite,
			String enerjiSinifi, String elekOzellik, String cekilenGuc,
			String cekilenElekAkimi, String sesSeviyesi, String havaDebisi,
			String disUniteBoyut, String icUniteBoyut, String disNetAgirlik,
			String boruCaplari, String garantiSuresi) {
		this.sirketprofil = sirketprofil;
		this.aygit = aygit;
		this.renk = renk;
		this.antibakteriyelicTasarim = antibakteriyelicTasarim;
		this.antibakteriyelTozFiltre = antibakteriyelTozFiltre;
		this.restart = restart;
		this.yuksekSogutisitPerformans = yuksekSogutisitPerformans;
		this.havalandirma = havalandirma;
		this.turboSogutisitma = turboSogutisitma;
		this.gecikCalisFonk = gecikCalisFonk;
		this.uykuModu = uykuModu;
		this.otoOff = otoOff;
		this.kokuGidericiFiltre = kokuGidericiFiltre;
		this.kokuKartusu = kokuKartusu;
		this.otoMode = otoMode;
		this.kolayPanel = kolayPanel;
		this.havaSalinimi = havaSalinimi;
		this.gucluNemAlma = gucluNemAlma;
		this.uzaktanKumanda = uzaktanKumanda;
		this.rataryKompresor = rataryKompresor;
		this.uzunUflemeMesafesi = uzunUflemeMesafesi;
		this.yonluHavaSalinimi = yonluHavaSalinimi;
		this.kademeliFanHizi = kademeliFanHizi;
		this.progHafizasi = progHafizasi;
		this.estetikDizayn = estetikDizayn;
		this.otoFanHizKontrol = otoFanHizKontrol;
		this.lonizer = lonizer;
		this.nemAlmaKapasite = nemAlmaKapasite;
		this.gazTipi = gazTipi;
		this.sogutmaKapasite = sogutmaKapasite;
		this.isitmaKapasite = isitmaKapasite;
		this.enerjiSinifi = enerjiSinifi;
		this.elekOzellik = elekOzellik;
		this.cekilenGuc = cekilenGuc;
		this.cekilenElekAkimi = cekilenElekAkimi;
		this.sesSeviyesi = sesSeviyesi;
		this.havaDebisi = havaDebisi;
		this.disUniteBoyut = disUniteBoyut;
		this.icUniteBoyut = icUniteBoyut;
		this.disNetAgirlik = disNetAgirlik;
		this.boruCaplari = boruCaplari;
		this.garantiSuresi = garantiSuresi;
	}

	@GenericGenerator(name = "generator", strategy = "foreign", parameters = @Parameter(name = "property", value = "aygit"))
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "aygitid", unique = true, nullable = false)
	public long getAygitid() {
		return this.aygitid;
	}

	public void setAygitid(long aygitid) {
		this.aygitid = aygitid;
	}

	@ManyToOne(fetch = FetchType.EAGER, cascade = CascadeType.ALL)
	@JoinColumn(name = "ureticiid", nullable = false)
	public Sirketprofil getSirketprofil() {
		return this.sirketprofil;
	}

	public void setSirketprofil(Sirketprofil sirketprofil) {
		this.sirketprofil = sirketprofil;
	}

	@OneToOne(fetch = FetchType.EAGER)
	@PrimaryKeyJoinColumn
	public Aygit getAygit() {
		return this.aygit;
	}

	public void setAygit(Aygit aygit) {
		this.aygit = aygit;
	}

	@Column(name = "renk", nullable = false, length = 20)
	public String getRenk() {
		return this.renk;
	}

	public void setRenk(String renk) {
		this.renk = renk;
	}

	@Column(name = "antibakteriyelicTasarim", nullable = false, length = 20)
	public String getAntibakteriyelicTasarim() {
		return this.antibakteriyelicTasarim;
	}

	public void setAntibakteriyelicTasarim(String antibakteriyelicTasarim) {
		this.antibakteriyelicTasarim = antibakteriyelicTasarim;
	}

	@Column(name = "antibakteriyelTozFiltre", nullable = false, length = 20)
	public String getAntibakteriyelTozFiltre() {
		return this.antibakteriyelTozFiltre;
	}

	public void setAntibakteriyelTozFiltre(String antibakteriyelTozFiltre) {
		this.antibakteriyelTozFiltre = antibakteriyelTozFiltre;
	}

	@Column(name = "restart", nullable = false, length = 20)
	public String getRestart() {
		return this.restart;
	}

	public void setRestart(String restart) {
		this.restart = restart;
	}

	@Column(name = "yuksekSogutisitPerformans", nullable = false, length = 20)
	public String getYuksekSogutisitPerformans() {
		return this.yuksekSogutisitPerformans;
	}

	public void setYuksekSogutisitPerformans(String yuksekSogutisitPerformans) {
		this.yuksekSogutisitPerformans = yuksekSogutisitPerformans;
	}

	@Column(name = "havalandirma", nullable = false, length = 20)
	public String getHavalandirma() {
		return this.havalandirma;
	}

	public void setHavalandirma(String havalandirma) {
		this.havalandirma = havalandirma;
	}

	@Column(name = "turboSogutisitma", nullable = false, length = 20)
	public String getTurboSogutisitma() {
		return this.turboSogutisitma;
	}

	public void setTurboSogutisitma(String turboSogutisitma) {
		this.turboSogutisitma = turboSogutisitma;
	}

	@Column(name = "gecikCalisFonk", nullable = false, length = 20)
	public String getGecikCalisFonk() {
		return this.gecikCalisFonk;
	}

	public void setGecikCalisFonk(String gecikCalisFonk) {
		this.gecikCalisFonk = gecikCalisFonk;
	}

	@Column(name = "uykuModu", nullable = false, length = 20)
	public String getUykuModu() {
		return this.uykuModu;
	}

	public void setUykuModu(String uykuModu) {
		this.uykuModu = uykuModu;
	}

	@Column(name = "otoOff", nullable = false, length = 20)
	public String getOtoOff() {
		return this.otoOff;
	}

	public void setOtoOff(String otoOff) {
		this.otoOff = otoOff;
	}

	@Column(name = "kokuGidericiFiltre", nullable = false, length = 20)
	public String getKokuGidericiFiltre() {
		return this.kokuGidericiFiltre;
	}

	public void setKokuGidericiFiltre(String kokuGidericiFiltre) {
		this.kokuGidericiFiltre = kokuGidericiFiltre;
	}

	@Column(name = "kokuKartusu", nullable = false, length = 20)
	public String getKokuKartusu() {
		return this.kokuKartusu;
	}

	public void setKokuKartusu(String kokuKartusu) {
		this.kokuKartusu = kokuKartusu;
	}

	@Column(name = "otoMode", nullable = false, length = 20)
	public String getOtoMode() {
		return this.otoMode;
	}

	public void setOtoMode(String otoMode) {
		this.otoMode = otoMode;
	}

	@Column(name = "kolayPanel", nullable = false, length = 20)
	public String getKolayPanel() {
		return this.kolayPanel;
	}

	public void setKolayPanel(String kolayPanel) {
		this.kolayPanel = kolayPanel;
	}

	@Column(name = "havaSalinimi", nullable = false, length = 20)
	public String getHavaSalinimi() {
		return this.havaSalinimi;
	}

	public void setHavaSalinimi(String havaSalinimi) {
		this.havaSalinimi = havaSalinimi;
	}

	@Column(name = "gucluNemAlma", nullable = false, length = 20)
	public String getGucluNemAlma() {
		return this.gucluNemAlma;
	}

	public void setGucluNemAlma(String gucluNemAlma) {
		this.gucluNemAlma = gucluNemAlma;
	}

	@Column(name = "uzaktanKumanda", nullable = false, length = 20)
	public String getUzaktanKumanda() {
		return this.uzaktanKumanda;
	}

	public void setUzaktanKumanda(String uzaktanKumanda) {
		this.uzaktanKumanda = uzaktanKumanda;
	}

	@Column(name = "rataryKompresor", nullable = false, length = 20)
	public String getRataryKompresor() {
		return this.rataryKompresor;
	}

	public void setRataryKompresor(String rataryKompresor) {
		this.rataryKompresor = rataryKompresor;
	}

	@Column(name = "uzunUflemeMesafesi", nullable = false, length = 20)
	public String getUzunUflemeMesafesi() {
		return this.uzunUflemeMesafesi;
	}

	public void setUzunUflemeMesafesi(String uzunUflemeMesafesi) {
		this.uzunUflemeMesafesi = uzunUflemeMesafesi;
	}

	@Column(name = "yonluHavaSalinimi", nullable = false, length = 20)
	public String getYonluHavaSalinimi() {
		return this.yonluHavaSalinimi;
	}

	public void setYonluHavaSalinimi(String yonluHavaSalinimi) {
		this.yonluHavaSalinimi = yonluHavaSalinimi;
	}

	@Column(name = "kademeliFanHizi", nullable = false, length = 20)
	public String getKademeliFanHizi() {
		return this.kademeliFanHizi;
	}

	public void setKademeliFanHizi(String kademeliFanHizi) {
		this.kademeliFanHizi = kademeliFanHizi;
	}

	@Column(name = "progHafizasi", nullable = false, length = 20)
	public String getProgHafizasi() {
		return this.progHafizasi;
	}

	public void setProgHafizasi(String progHafizasi) {
		this.progHafizasi = progHafizasi;
	}

	@Column(name = "estetikDizayn", nullable = false, length = 20)
	public String getEstetikDizayn() {
		return this.estetikDizayn;
	}

	public void setEstetikDizayn(String estetikDizayn) {
		this.estetikDizayn = estetikDizayn;
	}

	@Column(name = "otoFanHizKontrol", nullable = false, length = 20)
	public String getOtoFanHizKontrol() {
		return this.otoFanHizKontrol;
	}

	public void setOtoFanHizKontrol(String otoFanHizKontrol) {
		this.otoFanHizKontrol = otoFanHizKontrol;
	}

	@Column(name = "lonizer", nullable = false, length = 20)
	public String getLonizer() {
		return this.lonizer;
	}

	public void setLonizer(String lonizer) {
		this.lonizer = lonizer;
	}

	@Column(name = "nemAlmaKapasite", nullable = false, length = 20)
	public String getNemAlmaKapasite() {
		return this.nemAlmaKapasite;
	}

	public void setNemAlmaKapasite(String nemAlmaKapasite) {
		this.nemAlmaKapasite = nemAlmaKapasite;
	}

	@Column(name = "gazTipi", nullable = false, length = 20)
	public String getGazTipi() {
		return this.gazTipi;
	}

	public void setGazTipi(String gazTipi) {
		this.gazTipi = gazTipi;
	}

	@Column(name = "sogutmaKapasite", nullable = false, length = 20)
	public String getSogutmaKapasite() {
		return this.sogutmaKapasite;
	}

	public void setSogutmaKapasite(String sogutmaKapasite) {
		this.sogutmaKapasite = sogutmaKapasite;
	}

	@Column(name = "isitmaKapasite", nullable = false, length = 20)
	public String getIsitmaKapasite() {
		return this.isitmaKapasite;
	}

	public void setIsitmaKapasite(String isitmaKapasite) {
		this.isitmaKapasite = isitmaKapasite;
	}

	@Column(name = "enerjiSinifi", nullable = false, length = 20)
	public String getEnerjiSinifi() {
		return this.enerjiSinifi;
	}

	public void setEnerjiSinifi(String enerjiSinifi) {
		this.enerjiSinifi = enerjiSinifi;
	}

	@Column(name = "elekOzellik", nullable = false, length = 20)
	public String getElekOzellik() {
		return this.elekOzellik;
	}

	public void setElekOzellik(String elekOzellik) {
		this.elekOzellik = elekOzellik;
	}

	@Column(name = "cekilenGuc", nullable = false, length = 20)
	public String getCekilenGuc() {
		return this.cekilenGuc;
	}

	public void setCekilenGuc(String cekilenGuc) {
		this.cekilenGuc = cekilenGuc;
	}

	@Column(name = "cekilenElekAkimi", nullable = false, length = 20)
	public String getCekilenElekAkimi() {
		return this.cekilenElekAkimi;
	}

	public void setCekilenElekAkimi(String cekilenElekAkimi) {
		this.cekilenElekAkimi = cekilenElekAkimi;
	}

	@Column(name = "sesSeviyesi", nullable = false, length = 20)
	public String getSesSeviyesi() {
		return this.sesSeviyesi;
	}

	public void setSesSeviyesi(String sesSeviyesi) {
		this.sesSeviyesi = sesSeviyesi;
	}

	@Column(name = "havaDebisi", nullable = false, length = 20)
	public String getHavaDebisi() {
		return this.havaDebisi;
	}

	public void setHavaDebisi(String havaDebisi) {
		this.havaDebisi = havaDebisi;
	}

	@Column(name = "disUniteBoyut", nullable = false, length = 20)
	public String getDisUniteBoyut() {
		return this.disUniteBoyut;
	}

	public void setDisUniteBoyut(String disUniteBoyut) {
		this.disUniteBoyut = disUniteBoyut;
	}

	@Column(name = "icUniteBoyut", nullable = false, length = 20)
	public String getIcUniteBoyut() {
		return this.icUniteBoyut;
	}

	public void setIcUniteBoyut(String icUniteBoyut) {
		this.icUniteBoyut = icUniteBoyut;
	}

	@Column(name = "disNetAgirlik", nullable = false, length = 20)
	public String getDisNetAgirlik() {
		return this.disNetAgirlik;
	}

	public void setDisNetAgirlik(String disNetAgirlik) {
		this.disNetAgirlik = disNetAgirlik;
	}

	@Column(name = "boruCaplari", nullable = false, length = 20)
	public String getBoruCaplari() {
		return this.boruCaplari;
	}

	public void setBoruCaplari(String boruCaplari) {
		this.boruCaplari = boruCaplari;
	}

	@Column(name = "garantiSuresi", nullable = false, length = 20)
	public String getGarantiSuresi() {
		return this.garantiSuresi;
	}

	public void setGarantiSuresi(String garantiSuresi) {
		this.garantiSuresi = garantiSuresi;
	}
}